package com.zlzxm.shoesmarket.net.api;

import com.zlzxm.shoesmarket.net.respone.BaseResponse;
import com.zlzxm.shoesmarket.net.respone.RpNoteList;

import io.reactivex.rxjava3.core.Observable;
import retrofit2.http.Field;
import retrofit2.http.FormUrlEncoded;
import retrofit2.http.POST;

/**
 * CREATE BY zlzxm ON 2021/5/14
 */
public interface NoteApi {

    @FormUrlEncoded
    @POST("v1/qiuxie/book/list")
    Observable<BaseResponse<RpNoteList>> list(@Field("billTime") String  billTime,
                                              @Field("pageNum") String  pageNum,
                                              @Field("pageSize") String  pageSize);

    @FormUrlEncoded
    @POST("v1/qiuxie/book/add")
    Observable<BaseResponse<String>> add(@Field("billTime") String  billTime,
                                         @Field("inAndOutType") String  inAndOutType,
                                         @Field("money") String  money,
                                         @Field("purpose") String  purpose,
                                         @Field("remar") String  remar );


}
